/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.b2b.modules.fm.entity.collect;

import javax.validation.constraints.NotNull;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.b2b.common.persistence.DataEntity;
import com.b2b.common.utils.excel.annotation.ExcelField;

/**
 * 采集电量信息Entity
 * @author soldier lee
 * @version 2016-11-20
 */
public class FmGetelec extends DataEntity<FmGetelec> {
	
	private static final long serialVersionUID = 1L;
	private Long versionNo;		// 版本号,每次更新自增长1
	private String stype;		// 数据来源 : 采集端属于哪套系统，目前分为 YM 和 GX两类。存储：YM ，自己采集器获取的  GX：顾翔采集器获取的 
	private String ele001;		// 主机编号
	private Date ele002;		// 采集时间
	private Date ele003;		// 上传时间
	private String ele004;		// 采集指标：EA  电流A  ，EB  电流B，EC  电流C，VA  电压A，VB  电压B，VC  电压C，W   功 率，E     当前电量，ET   总电量
	private Double ele005;		// 采集指标值
	private Double ele006;		// 采集指标值1
	private Double ele007;		// 采集指标值2
	private Double ele008;		// 采集指标值3
	private Double ele009;		// 自订栏位1
	private Double ele010;		// 自订栏位2
	private Double ele011;		// 自订栏位3
	private String ele018;		// 自订栏位4
	private String ele019;		// 自订栏位5
	private String ele020;		// 自订栏位6
	
	public FmGetelec() {
		super();
	}

	public FmGetelec(String id){
		super(id);
	}

	@NotNull(message="版本号,每次更新自增长1不能为空")
	@ExcelField(title="版本号,每次更新自增长1", align=2, sort=6)
	public Long getVersionNo() {
		return versionNo;
	}

	public void setVersionNo(Long versionNo) {
		this.versionNo = versionNo;
	}
	
	@ExcelField(title="数据来源 : 采集端属于哪套系统，目前分为 YM 和 GX两类。存储：YM ，自己采集器获取的  GX：顾翔采集器获取的 ", align=2, sort=7)
	public String getStype() {
		return stype;
	}

	public void setStype(String stype) {
		this.stype = stype;
	}
	
	@ExcelField(title="主机编号", align=2, sort=8)
	public String getEle001() {
		return ele001;
	}

	public void setEle001(String ele001) {
		this.ele001 = ele001;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message="采集时间不能为空")
	@ExcelField(title="采集时间", align=2, sort=9)
	public Date getEle002() {
		return ele002;
	}

	public void setEle002(Date ele002) {
		this.ele002 = ele002;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message="上传时间不能为空")
	@ExcelField(title="上传时间", align=2, sort=10)
	public Date getEle003() {
		return ele003;
	}

	public void setEle003(Date ele003) {
		this.ele003 = ele003;
	}
	
	@ExcelField(title="采集指标：EA  电流A  ，EB  电流B，EC  电流C，VA  电压A，VB  电压B，VC  电压C，W   功 率，E     当前电量，ET   总电量", align=2, sort=11)
	public String getEle004() {
		return ele004;
	}

	public void setEle004(String ele004) {
		this.ele004 = ele004;
	}
	
	@ExcelField(title="采集指标值", align=2, sort=12)
	public Double getEle005() {
		return ele005;
	}

	public void setEle005(Double ele005) {
		this.ele005 = ele005;
	}
	
	@ExcelField(title="采集指标值1", align=2, sort=13)
	public Double getEle006() {
		return ele006;
	}

	public void setEle006(Double ele006) {
		this.ele006 = ele006;
	}
	
	@ExcelField(title="采集指标值2", align=2, sort=14)
	public Double getEle007() {
		return ele007;
	}

	public void setEle007(Double ele007) {
		this.ele007 = ele007;
	}
	
	@ExcelField(title="采集指标值3", align=2, sort=15)
	public Double getEle008() {
		return ele008;
	}

	public void setEle008(Double ele008) {
		this.ele008 = ele008;
	}
	
	@ExcelField(title="自订栏位1", align=2, sort=16)
	public Double getEle009() {
		return ele009;
	}

	public void setEle009(Double ele009) {
		this.ele009 = ele009;
	}
	
	@ExcelField(title="自订栏位2", align=2, sort=17)
	public Double getEle010() {
		return ele010;
	}

	public void setEle010(Double ele010) {
		this.ele010 = ele010;
	}
	
	@ExcelField(title="自订栏位3", align=2, sort=18)
	public Double getEle011() {
		return ele011;
	}

	public void setEle011(Double ele011) {
		this.ele011 = ele011;
	}
	
	@ExcelField(title="自订栏位4", align=2, sort=19)
	public String getEle018() {
		return ele018;
	}

	public void setEle018(String ele018) {
		this.ele018 = ele018;
	}
	
	@ExcelField(title="自订栏位5", align=2, sort=20)
	public String getEle019() {
		return ele019;
	}

	public void setEle019(String ele019) {
		this.ele019 = ele019;
	}
	
	@ExcelField(title="自订栏位6", align=2, sort=21)
	public String getEle020() {
		return ele020;
	}

	public void setEle020(String ele020) {
		this.ele020 = ele020;
	}
	
}